﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace WaiGaoQiaoWeb.Models
{
    public class Con_GoodsVM
    {
        [Required]
        public int Id
        {
            get;
            set;
        }

        [Required]
        [Display(Name = "食材编号")]
        public string GoodsNo
        {
            get;
            set;
        }

        [Required]
        [Display(Name = "食材名称")]
        public string GoodsName
        {
            get;
            set;
        }


        [Display(Name = "食材单位")]
        public string GoodsUnit
        {
            get;
            set;
        }

        [Required]
        [Display(Name = "上级编号")]
        public int PriorID
        {
            get;
            set;
        }
        [Display(Name = "所属大类")]
        public string Type
        {
            get;
            set;
        }
    }
}